package com.jacklin.shopping.mall.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * OrderVO是创建订单时的返回给前端的对象，它包括订单信息，订单明细信息，相关时间、
 * 地址信息shippingVO以及收货人姓名receiverName等等对象...
 *
 * @Author 林必昭
 * @Date 2019/6/21 11:10
 */
@Data
public class OrderVO {

    private Long orderNo;

    private BigDecimal payment;

    private Integer paymentType;

    private String paymentTypeDesc; //用来返回给前端

    private Integer postage;

    private Integer status;

    private String statusDesc;  //用来返回给前端

    private String paymentTime;

    private String deliveryTime;    //这里的时间都设为String类型

    private String endTime;

    private String closeTime;

    private String createTime;

    private Integer shippingId;     //shippingId

    private String receiverName;    //收货人姓名

    private String imageHost;       //图片

    //订单明细
    private List<OrderItemVO> orderItemVOList;

    private ShippingVO shippingVO;


}
